package com.atguigu.gulimall.product.service;

import com.atguigu.gulimall.product.vo.AttrRespVo;
import com.atguigu.gulimall.product.vo.AttrVo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.atguigu.common.utils.PageUtils;
import com.atguigu.gulimall.product.entity.AttrEntity;

import java.util.Map;

/**
 * 商品属性
 *
 * @author qindewan
 * @email qindewan@gmail.com
 * @date 2021-06-28 16:12:35
 */
public interface AttrService extends IService<AttrEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveAttr(AttrVo attrVo);

    PageUtils queryBaseAttr(Map<String, Object> params, Long catelogId, String type);

    AttrRespVo attrInfo(Long attrId);

    void updateAttrInfo(AttrVo attr);

    PageUtils getnoGroupAttr(Map<String, Object> params, Long attrGroupId);
}

